package com.abel.roommanager.service;

import java.util.List;

import com.abel.roommanager.pojo.Landlord;
import com.abel.roommanager.pojo.Room;
import com.abel.roommanager.util.Page;

public interface RoomService {

	List<Room> findAllRoom();

	List<Room> findRoomsBySid(int id);

	Page<Room> findRoomsByCurpage(int curPage);

	int addRoom(Room room, Landlord landlord);

	int delRoom(int id);

	Room findRoomInfoById(int id);

	Page<Room> findRoomsByLimits(Room room, int enableLiving, int curPage);

	List<Room> findRoomsBySex(int sex);

	List<Room> findRooms();

}
